package dashboard.constant;

public class IncomePlatConst {


	/* 分平台趋势图查询 */
	private static final String PATTEN_Plat = "business_name='%s' AND product_type='%s' AND stat_type='%s' ";
	public static String getPlatCol(String dateGroup, String index) {
		return dateGroup+","+index+",platform";
	}
	
	public static String getPlatCon(String stat_type, String businessName,String product_type){
		return String.format(PATTEN_Plat, businessName, product_type, stat_type);
	}
	
}
